<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const a = NaN;
      console.log(isNaN(a));
      console.log("isFinite(100)", isFinite(100));
      console.log("isFinite('hello')", isFinite("hello"));
      console.log("isFinite('100')", isFinite("100"));
      console.log("isFinite(Infinity)", isFinite(Infinity));
    </script>
  </body>
</html>
